package request

type Register struct {
	Username string `json:"username" form:"username" binding:"required"`   // 昵称
	Mobile   string `json:"mobile" form:"mobile" binding:"required"`       // 手机号
	Password string `json:"password" form:"password" binding:"required"`   // 密码
	TypeUser uint   `json:"type_user" form:"type_user" binding:"required"` // 1:客服，2:用户
	Status   string `json:"status" form:"status" binding:"required"`       // 在线状态
	Image    string `json:"image" form:"image" binding:"required"`         // 头像
}
type Login struct {
	Mobile   string `json:"mobile" form:"mobile" binding:"required"`     // 手机号
	Password string `json:"password" form:"password" binding:"required"` // 密码
}
type GetUser struct {
	Page     uint `json:"page" form:"page"`
	PageSize uint `json:"page_size" form:"page_size"`
}
type History struct {
	StartTime string `json:"start_time" form:"start_time"`
	EndTime   string `json:"end_time" form:"end_time"`
	TypeUser  uint   `json:"type_user" form:"type_user"`
}
type SendMessage struct {
	Title   string `json:"title" form:"title" binding:"required"`     // 标题
	Content string `json:"content" form:"content" binding:"required"` // 内容
	//Message string `json:"message" form:"message" binding:"required"`
}
